package com.jsh.erp.datasource.entities;

import java.time.LocalDateTime;

/**
 * @author YikWorld
 * @version 1.8
 * @Date: 2025/2/13 -> 10:03分
 * @description:
 */
public class CategoryValidation {
    private Long id;                // 主键ID
    private Long categoryId;        // 类别ID
    private String fieldName;       // 字段名（如 name/spec/unit）
    private String remark;          // 备注提示
    private Integer required;       // 是否必填（0-否，1-是）
    private Long createUser;        // 创建人
    private LocalDateTime createTime; // 创建时间
    private Long updateUser;        // 修改人
    private LocalDateTime updateTime; // 修改时间
    private Long tenantId;          // 租户ID
    private String deleteFlag;     // 删除标记（0-未删除，1-已删除）


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getCategoryId() {
        return categoryId;
    }

    public void setCategoryId(Long categoryId) {
        this.categoryId = categoryId;
    }

    public String getFieldName() {
        return fieldName;
    }

    public void setFieldName(String fieldName) {
        this.fieldName = fieldName;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public Integer getRequired() {
        return required;
    }

    public void setRequired(Integer required) {
        this.required = required;
    }

    public Long getCreateUser() {
        return createUser;
    }

    public void setCreateUser(Long createUser) {
        this.createUser = createUser;
    }

    public LocalDateTime getCreateTime() {
        return createTime;
    }

    public void setCreateTime(LocalDateTime createTime) {
        this.createTime = createTime;
    }

    public Long getUpdateUser() {
        return updateUser;
    }

    public void setUpdateUser(Long updateUser) {
        this.updateUser = updateUser;
    }

    public LocalDateTime getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(LocalDateTime updateTime) {
        this.updateTime = updateTime;
    }

    public Long getTenantId() {
        return tenantId;
    }

    public void setTenantId(Long tenantId) {
        this.tenantId = tenantId;
    }

    public String getDeleteFlag() {
        return deleteFlag;
    }

    public void setDeleteFlag(String deleteFlag) {
        this.deleteFlag = deleteFlag;
    }
}
